//
//  HCSSCollectionViewCell.m
//  Aierle
//
//  Created by WillyZhao on 2017/6/1.
//  Copyright © 2017年 WillyZhao. All rights reserved.
//

#import "HCSSCollectionViewCell.h"

@implementation HCSSCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


-(void)cellModelImages:(NSArray *)images texts:(NSArray *)texts indexPath:(NSIndexPath *)indexPath {
    self.titleLabel.text = texts[indexPath.row];
    UIImage *im = images[indexPath.row];
    self.IMGHeight.constant= im.size.height*0.85;
    self.IMGWidth.constant = im.size.width*0.85;
    self.IMG.image = im;
}

@end
